package com.iplant.basic.service.po.bpm;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.ArrayList;
import java.util.Calendar;
import java.util.List;

//我的任务
public class BPMActivitiTask extends BPMActivitiHisTask {

    /**
     *
     */
    private static final long serialVersionUID = 1L;

    public Calendar CreateTime = Calendar.getInstance();

    public Boolean isSuspended = false;

    public String Recipients = ""; // 任务通知人

    public int delegationState = 0; // 委托任务状态 0：非委托任务 1：委托任务待办 2：委托任务已办

    public List<BPMActivitiHisTask> HisTaskList = new ArrayList<BPMActivitiHisTask>();// 历史任务列表

    public int getDelegationState() {
        return delegationState;
    }

    public void setDelegationState(int wDelegationState) {
        delegationState = wDelegationState;
    }

    @JsonProperty("CreateTime")
    public Calendar getCreateTime() {
        return CreateTime;
    }

    public void setCreateTime(Calendar createTime) {
        CreateTime = createTime;
    }

    @JsonProperty("isSuspended")
    public boolean getIsSuspended() {
        return isSuspended;
    }

    public void setIsSuspend(boolean isSuspended) {
        this.isSuspended = isSuspended;
    }

    public void setSuspended(Boolean isSuspended) {
        this.isSuspended = isSuspended;
    }
    @JsonProperty("HisTaskList")
    public List<BPMActivitiHisTask> getHisTaskList() {
        return HisTaskList;
    }

    public void setHisTaskList(List<BPMActivitiHisTask> hisTaskList) {
        HisTaskList = hisTaskList;
    }

    @JsonProperty("Recipients")
    public String getRecipients() {
        return Recipients;
    }

    public void setRecipients(String wRecipients) {
        Recipients = wRecipients;
    }


}
